package dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import entity.App_info;

public interface AppInfoDaoMapper {
	/**
	 * 查询审核列表
	 */
	public List<App_info> queryAppInfo(@Param("softwareName")String softwareName,
										@Param("statusName")Integer statusName,
										@Param("categoryLevel1Name")Integer categoryLevel1Name,
										@Param("categoryLevel2Name")Integer categoryLevel2Name,
										@Param("categoryLevel3Name")Integer categoryLevel3Name,
										@Param("startRow")Integer startRow,
										@Param("pageSize")Integer pageSize);
	
	/**
	 * 根据id查询app基础信息
	 */
	public App_info queryAppInfoById(@Param("aid")Integer aid);
	
	/**
	 * app审核
	 */
	public App_info updateAppCheck(@Param("status")Integer status,@Param("aid")Integer aid);
	
	/**
	 * 查询总记录数
	 */
	public int dataTotal(@Param("softwareName")String softwareName,
						@Param("flatformId")Integer flatformId,
						@Param("categoryLevel1")Integer categoryLevel1,
						@Param("categoryLevel2")Integer categoryLevel2,
						@Param("categoryLevel3")Integer categoryLevel3);
}
